package com.lmk.org.mapper;

import com.lmk.basic.mapper.BaseMapper;
import com.lmk.org.domain.Employee;

import java.util.List;

public interface EmployeeMapper extends BaseMapper<Employee> {
    // 添加中间表信息
    void addEmployeeRole(Employee employee);
    // 删除中间表信息
    void delEmployeeRoleByEmpId(Long id);

    Employee loadByLogininfoId(Long id);

    List<Employee> findByShopId(Long id);



   /* // 添加
    void save(Employee employee);

    // 删除
    void remove(Long id);

    // 修改
    void update(Employee employee);

    // 查询所有
    List<Employee> loadAll();

    // 查询单个
    Employee loadById(Long id);

    // 分页查询总条数
    Long queryCount(EmployeeQuery query);

    // 分页，查询当前页的数据
    List<Employee> queryDate(EmployeeQuery query);

    // 批量删除
    void batchdel(List<Long> ids);*/
}
